#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_exam1.py
# author:王雯雯
# datetime:2024-11-12 
# software: PyCharm

class Teacher:
    def __init__(self, tno, tname, dno, salary, tmobile):
        self.tno = tno
        self.tname = tname
        self.dno = dno
        self.salary = salary
        self.tmobile = tmobile

    def __str__(self):
        return f"教师编号: {self.tno}, 姓名: {self.tname}, 所属院系: {self.dno}, 工资: {self.salary}, 教师手机号: {self.tmobile}"